<div class="status ov">

    <!--取消操作-->
    <div class="pay-botton-form fr" style="width: 100%;">
    <a  href="/sendorderemail-{{ order.sn }}.html"  class="glyphicon glyphicon-envelope" style="float: left; font-size: 30px; margin-top: 5px;"></a>
    {% if order.order_status.code == 'placed'  or order.order_status.code=='pressed'%}
    <div class="pay-cansel fr" style="width: 200px; display: inline-block;">
        <button  data-sn="{{ order.sn }}"  class="pay_btn2 order_pay_cancel" style="padding: 4px 5px;">キャンセル</button>
    </div>
    {% endif %}

    {% if order.order_status.code=='placed'  or order.order_status.code=='pressed' %}
    <div class="pay-botton-form fr" style="width: 85px; display: inline-block;">
<!--         {{ form_open({'request': 'onRePaymentOrder', 'class': 'checkoutForm','id':'yy_onRePaymentOrder'}) }}
        <input type="hidden" name="key" value="{{ order.sn }}">
        <button type="submit" form="yy_onRePaymentOrder" class="pay_btn order_paybtn">今すぐ払う</button>
        {{ form_close() }} -->
       <a href="/repay-{{ order.sn }}-{{ order.payment_method }}-p.html" class="pay_btn">今すぐ支払う</a>
    </div>
    {% endif %}

    <!--点击进入物流详情页面-->
    {% if  order.order_status.code == 'paid' or order.order_status.code == 'delivered' or order.order_status.code == 'confirmreceipt' %}
    <div class="pay-botton-form fr">
        <a  href="/viewlogistics-{{ order.sn }}.html" class="btn btn-default">物流情報のチェック</a>
    </div>
    {% endif %}

    <!--催发货提示后台改下ERP状态状态-->
    {% set is_display_ship_reminder = catalog.orderReminderDate(order.created_at) %}
    {% if order.order_status.code == 'paid' and is_display_ship_reminder==1 %}
    <div class="pay-botton-form fr">
        <button style="margin: 2px 30px;"  data-request="onOrderShipReminder" data-request-data="sn: {{ order.sn }}"  class="pay_btn pay_btn2 order_paybtn tan_cuizzs">出荷を催促する</button>
    </div>
    {% endif %}

    <!--确认收货弹框，修改订单状态-->
    {% if order.order_status.code == 'delivered' %}
    <div class="pay-cansel fr">
        <button data-request="onConfirmReceipt" data-request-data="sn: {{ order.sn }}"  data-request-confirm="ご荷物は受け取りましたか？" class="btn btn-black">受取の確認</button>
    </div>
    {% endif %}

    </div>
</div>

